﻿using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace HengTong.DataAccess.Migrations
{
    /// <inheritdoc />
    public partial class 供应链基础表增加备注 : Migration
    {
        /// <inheritdoc />
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AddColumn<string>(
                name: "Remark",
                table: "SysMeasureUnitGroup",
                type: "nvarchar(256)",
                maxLength: 256,
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "Remark",
                table: "SysMeasureUnit",
                type: "nvarchar(256)",
                maxLength: 256,
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "Remark",
                table: "SysMaterialSku",
                type: "nvarchar(256)",
                maxLength: 256,
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "Remark",
                table: "SysMaterialGroup",
                type: "nvarchar(256)",
                maxLength: 256,
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "Remark",
                table: "SysMaterialAttribute",
                type: "nvarchar(256)",
                maxLength: 256,
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "Remark",
                table: "SysMaterial",
                type: "nvarchar(256)",
                maxLength: 256,
                nullable: true);
        }

        /// <inheritdoc />
        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "Remark",
                table: "SysMeasureUnitGroup");

            migrationBuilder.DropColumn(
                name: "Remark",
                table: "SysMeasureUnit");

            migrationBuilder.DropColumn(
                name: "Remark",
                table: "SysMaterialSku");

            migrationBuilder.DropColumn(
                name: "Remark",
                table: "SysMaterialGroup");

            migrationBuilder.DropColumn(
                name: "Remark",
                table: "SysMaterialAttribute");

            migrationBuilder.DropColumn(
                name: "Remark",
                table: "SysMaterial");
        }
    }
}
